package com.redis.mapper;

import com.redis.entity.Concert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: Li
 * @Date: 2024/12/20 20:42
 * @Description:
 */
@Mapper
public interface ConcertMapper {
    Concert getById(Integer cid);
    
    void updateTickets(Integer cid, Integer tickets);
    
    List<Concert> getAllConcert();
}
